<?php 
namespace Admin\Model;
use Think\Model;
class CarlistModel extends Model{
    
  protected $patchValidate =true;//批量验证

  protected $_validate=array(
   array('id','require','id名不能为空'),
   array('name','require','牌名不能为空'),
  array('price','require','价格不能为空'),
  array('nationnal','require','产地不能为空'),
  	);
}